package com.payment.entity.alast.paypalpay.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * payPal网页支付的请求
 *
 * @author lm
 * @date 2020/7/31 15:34
 */
@Data
public class RequestPayPalWebPay implements Serializable {
    private static final long serialVersionUID = -7808271235328696458L;

    @ApiModelProperty(value = "接口名称。此字段不可传空字符串", example = "payPalPay", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "访问时间戳。此字段不可传空字符串", example = "20181031256548", dataType = "String")
    private String tradeTime;

    @ApiModelProperty(value = "接口版本，本次接口值为：3.0。此字段不可传空字符串", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "渠道编码。此字段不可传空字符串", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "支付总金额。此字段不可传空字符串", example = "19.99", dataType = "String")
    private String payAmount;

    @ApiModelProperty(value = "支付ID。此字段不可传空字符串", example = "20190321192436", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "paypal支付的场景:sandbox/production。此字段不可传空字符串", example = "production", dataType = "String")
    private String mode;

    @ApiModelProperty(value = "paypal的账号。此字段可传空字符串", example = "AbYVvSJNyLk8sk_-NPxum0B7RjYqyi3ryKIQx_Cd2zEsNrulwpeNIY3TgA20t_WPQpu3ewqFcMPQYWy8", dataType = "String")
    private String clientId;

    @ApiModelProperty(value = "paypal账号密钥。此字段可传空字符串", example = "EP5OC_7rEZdDVE_lZDjYdg5CLjO6sxP36Xj5QctkEId8lpRcg7zQfPJkzxkwKYd1Ls-a4ePgaBv_87Py", dataType = "String")
    private String clientSecret;

    @ApiModelProperty(value = "请求签名。此字段不可传空字符串", example = "b2a9e697bdff66049803d62ffeffccaf", dataType = "String")
    private String sign;

}
